package com.example.expresscabinet.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.expresscabinet.common.Result;
import com.example.expresscabinet.model.friend;
import com.example.expresscabinet.model.friendetail;

import java.util.List;

public interface IFriendService extends IService<friend> {
    public Result<?> addFriendMsg(String receiver, String sender, String code);
    public void deleteFriendMsg(String sender, String code);
    public Page<friendetail> queryNoTake(String receiver, int pageNum, int pageSize);
    public Page<friendetail> queryTake(String receiver,int pageNum,int pageSize);
}
